package com.nothingboard.module.member.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.nothingboard.module.member.model.MemberDto;
import com.nothingboard.module.member.model.MemberExtendVo;
import com.nothingboard.module.member.model.MemberExtendValueVo;
import com.nothingboard.module.member.model.MemberLogonDto;
import com.nothingboard.module.member.model.MemberSearchDto;
import com.nothingboard.module.member.model.MemberVo;

public interface MemberDao {
	
	/**
	 * 로그인 조회
	 * @param dto
	 * @return
	 * @throws DataAccessException
	 */
	public Object getMemberByUsrId(MemberLogonDto dto) throws DataAccessException;
	
	/**
	 * 회원 정보 조회
	 * @param dto
	 * @return
	 * @throws DataAccessException
	 */
	public Object getMember(MemberSearchDto dto) throws DataAccessException;
	
	/**
	 * 회원 목록 조회
	 * @param dto
	 * @return
	 * @throws DataAccessException
	 */
	public List<Object> getMemberList(MemberSearchDto dto) throws DataAccessException;
	
	public List<Object> getExpandValueList(MemberSearchDto dto) throws DataAccessException;
	
	public List<Object> getExpandItemList(MemberSearchDto dto) throws DataAccessException;
	
	public Object insert(MemberVo vo) throws DataAccessException;
	
	public int update(MemberVo vo) throws DataAccessException;
	
	public MemberVo get(int usrNo) throws DataAccessException;

}
